using Newtonsoft.Json;

namespace BingleMaps.Models.GoogleMaps
{
	public class ViewPort
	{
		[JsonProperty("northeast")]
		public Location NorthEast { get; set; }
		[JsonProperty("southwest")]
		public Location SouthWest { get; set; }

		const string Delimiter = "|";
		public override string ToString()
		{
			return SouthWest + Delimiter + NorthEast;
		}
	}
}